<?php
if ( ! defined('ROOT')) exit('No direct script access allowed');

/**
 * 内容模型类
 * @author gzute
 * @link http://www.gzute.com
 */

class ContentModel extends Model
{
	public $table = 'admin';
	
	public function __construct()
	{
		parent::__construct();
	}
	
	public function test()
	{
		echo self::where('uid','1')->count_all().'<br>';
		echo self::db()->last_sql;
	}
}

//end of this file